package com.alan.shiro.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Auther: Alan liu
 * @Date: 2018/12/13 09:42
 * @Description: ShiroProperties
 */
@Component
@ConfigurationProperties(prefix = "shiro.token")
@Data
public class ShiroProperties {

    private String key;

    private long expirateTime;


}
